var mongoose = require('mongoose')
var Schema = mongoose.Schema

var bookSchema = new Schema({
  "author": String,
  "fav_nums": Number,
  "id": Number,
  "image": String,
  "like_status": Number,
  "title": String,
  "desc": String,
  "press": String,
  "press_year": String,
  "price": String
})

module.exports = mongoose.model('Book', bookSchema)